package edu.scau.mis.sys.service;

import edu.scau.mis.sys.entity.SysAdmin;
import edu.scau.mis.sys.security.utils.SecurityUtils;
import org.springframework.security.core.AuthenticationException;

import java.util.HashMap;
import java.util.Map;

public interface AuthenticationService {

    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     * @throws AuthenticationException
     */
    String login(String username, String password) throws AuthenticationException;

}
